
import request from "@/manager/base/RequestManager";
import SystemAdminLoginsValidate from "@/api/system/reuquest/SystemAdminLoginsValidate";
import config from "@/config";





/**
 * 登录系统
 *
 * @author 徐寿春
 * 2023/5/22 17:11
 */
export function login(params: SystemAdminLoginsValidate) {
    return request.post('/system/login', {...params, terminal: config.terminal})
}

/**
 *
 *  退出登录
 *
 * @author 徐寿春
 * 2023/5/22 17:13
 */
export function logout() {
    return request.post('/system/logout')
}


